import http from '@/utils/request'
//用户登录
export const loginApi = (username, password) => {
  console.log('api', username, password)
  return http.post('/972a96c5-fd06-4ad1-9ab7-d44501b280bc/login?apipost_id=84f4fa', {
    username,
    password
  })
}

//退出登录
export const loginOutApi = () => {
  return http.post('/972a96c5-fd06-4ad1-9ab7-d44501b280bc/login?apipost_id=84f4fa')
}
